]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
appDisplay: Set minimum folder view rows to 1
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 17 Dec 2019 20:00:57 +0000 (17:00 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 21 Jan 2020 14:07:08 +0000 (11:07 -0300)
This improves the usage of empty space in the dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/896

js/ui/appDisplay.js

index 40150740a78a60ed4c99d9e68ec8edcb01ed8283..05320f75cc8a2794cc18fb5fe5ca8a3a72cb2c56 100644 (file)
@@ -1283,6 +1283,8 @@ class FolderView extends BaseAppView {
             layout_manager: new Clutter.BinLayout(),
             x_expand: true,
             y_expand: true,
+        }, {
+            minRows: 1,
         });
 
         // If it not expand, the parent doesn't take into account its preferred_width when allocating